/*
 * @Author: your name
 * @Date: 2021-01-25 09:46:10
 * @LastEditTime: 2021-04-09 14:06:58
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: /C20Driver/lib/model/model.dart
 */
class AdvertPicture {
  String title;
  String imgUrl;
  String type;
  String fullImgUrl;

  AdvertPicture({this.title, this.imgUrl, this.type, this.fullImgUrl});

  AdvertPicture.fromJson(Map<String, dynamic> json) {
    title = json['title'];
    imgUrl = json['img_url'];
    type = json['type'];
    fullImgUrl = json['full_img_url'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['img_url'] = this.imgUrl;
    data['type'] = this.type;
    data['full_img_url'] = this.fullImgUrl;
    return data;
  }
}

class GetPayState {
  String payState;

  GetPayState({this.payState});

  GetPayState.fromJson(Map<String, dynamic> json) {
    payState = json['pay_state'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['pay_state'] = this.payState;
    return data;
  }
}
